﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using WindowsFormsApplication2.Model;

namespace Anata_Client
{
    public partial class frmDaftarKonsumen : Form
    {
        int id;
        TextBox nama;
        
        public frmDaftarKonsumen()
        {
            InitializeComponent();
        }

        public frmDaftarKonsumen(ref int i, TextBox t)
        {
            InitializeComponent();

            id = i;
            nama = t;
            dgvKonsumen.DataSource = Konsumen.DaftarKonsumen();
        }

        private void btnPilih_Click(object sender, EventArgs e)
        {
            DataGridViewRow dr = dgvKonsumen.CurrentRow;


        }
    }
}
